ConnectivityMonitor
Creates the iOS monitor, backed by NWPathMonitor. Create one per process.
From Swift, observe it with observe(onChange:), which returns a handle to close().
Throws
if the configuration is invalid.
fun ConnectivityMonitor(block: ConnectivityConfig.Builder.() -> Unit = {}): ConnectivityMonitor(source)
Builds the configuration with block and creates the iOS monitor; see the overload above.